package com.bgs.service;

import com.bgs.pojo.Dormitory;
import com.bgs.pojo.StudentDormitoryRelation;
import com.bgs.pojo.vo.DormitoryVo;
import com.bgs.pojo.vo.StudentDormitoryRelationVo;

import java.util.List;

/**
 * @Auther: 梁玉杰
 * @Date: 2021/8/12 16:22
 * @Description: TODO
 */
public interface DormitoryService {
    List<Dormitory> findAll(DormitoryVo dormitoryVo);

    List<Dormitory> dorxlkone();

    List<Dormitory> dorxlktwo(Dormitory d);

    List<Dormitory> dorxlkthree(Dormitory d);

    List<Dormitory> dorxlkgly();

    List<Dormitory> dorxlkcwsl();

    List<Dormitory> dorxlksyzt();

    int insertSelective(Dormitory dor);

    int updateByPrimaryKeySelective(Dormitory dor);

    int deleteById(Integer pkId);

    int insertDS(StudentDormitoryRelation sD);

    List<StudentDormitoryRelation> dorfindAllds(StudentDormitoryRelation stuDor);

    int deleteByIdSstu(Integer pkId);

    //当前宿舍的现住学生
    Integer number(String dormitoryName);
}
